 
-----------------------------
Generating Binomial N samples
p =  0.5 N =  10
  
  Generating Binomial Distribution samples.
  Date and time plus nanoseconds
Wed Jun 18 18:41:23 EDT 2014
659892161
  
[1] 0.5
[1] 10
[1] "Absolute difference of empirical moments from theoretical ones:"
[1] 0.0007962 0.0063492 0.0439860 0.2980416
[1] "Relative difference of empirical moments from theoretical ones:"
[1] 0.0001592400 0.0002308800 0.0002706831 0.0002929156
[1] "Absolute difference of empirical central moments from theoretical ones:"
[1]  8.635652e-17 -1.613434e-03  2.495353e-03 -2.741585e-02
[1] "Relative difference of empirical central moments from theoretical ones (except first):"
[1] -5.867032e-05  1.535602e-05 -2.694432e-05
                         test   P.value KS.test
1                  Chi Square 0.9351367  Passed
2            Likelihood Ratio 0.9351367  Passed
3               Freeman-Tukey 0.7225712  Passed
4 Power Divergence (lambda=2) 0.9112217  Passed
[1] 0.5
[1] 10
[1] "Absolute difference of empirical moments from theoretical ones:"
[1] 0.0007962 0.0063492 0.0439860 0.2980416
[1] "Relative difference of empirical moments from theoretical ones:"
[1] 0.0001592400 0.0002308800 0.0002706831 0.0002929156
[1] "Absolute difference of empirical central moments from theoretical ones:"
[1]  8.635652e-17 -1.613434e-03  2.495353e-03 -2.741585e-02

	One-sample Kolmogorov-Smirnov test

data:  bin.unif
D = 0.0004, p-value = 0.3247
alternative hypothesis: two-sided

